kaf24@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 15:17:08 +0000 (15:17 +0000)]
bitkeeper revision 1.1684 (42a468f4PvUu-iWAyhHxfE-JnhHVYw)
Remove strrchr/strnlen/memscan from x86-specific string.h. They are not
used so not worth optimising (strnlen is used only in vsprintf which is
not performance critical).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 14:48:14 +0000 (14:48 +0000)]
bitkeeper revision 1.1683 (42a4622ekYvso9kv8cisS5m2QiUqiQ)
Merge x86/32 and x86/64 string functions.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 10:52:53 +0000 (10:52 +0000)]
bitkeeper revision 1.1682 (42a42b05Cvw3LyFcUHH4i1_9HWbLBA)
Merge x86/32 and x86/64 usercopy routines.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 09:28:15 +0000 (09:28 +0000)]
bitkeeper revision 1.1681 (42a4172fYhXBx6d4aXa2ofB5qVB2Ww)
xc_gnttab.c, xc_evtchn.c:
Cleanup error message printing and error exit code path.
xc_vmx_build.c, xc_private.c, xc_plan9_build.c, xc_linux_build.c:
Cleanup error message printing.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 08:57:47 +0000 (08:57 +0000)]
bitkeeper revision 1.1680 (42a4100bIstutWsVAoi7aPO8tLbFkA)
xc_load_elf.c, xc_load_bin.c:
Fix missing rename (xc_*_probe -> probe_*) from previous commit.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 08:44:42 +0000 (08:44 +0000)]
bitkeeper revision 1.1679 (42a40cfaZ0Dy-HjTM0W3L10VllkAnw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
cl349@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 08:44:32 +0000 (08:44 +0000)]
bitkeeper revision 1.1665.4.1 (42a40cf0EmwulK0I8hNEb2dVbDEkvQ)
xc_private.h, xc_linux_build.c, Makefile:
Add support for loading ``bin'' format images, as used by ReactOS.
Move image probing/parsing/loading code out of domain builder to allow
multiple image formats without having to duplicate the domain building
code.
xc_load_elf.c, xc_load_bin.c:
new file
xc_vmx_build.c:
Cleanup.
Signed-Off-By: Ge van Geldorp <gvg@reactos.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Mon, 6 Jun 2005 08:14:16 +0000 (08:14 +0000)]
bitkeeper revision 1.1678 (42a405d8raiThtAq9NRXuuFg6ur1qA)
Attached patch fixes FP initialization bug with x86-64 xenlinux.=20
With this patch, # of testcase failures with LTP is < 5 (out of 800),
almost same results as the native x86-64 Linux. The other two patches
for LTP are coming soon; with these, all the testcases will pass (except
the ones that fail on the native x86-64 Linux).
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 5 Jun 2005 14:56:51 +0000 (14:56 +0000)]
bitkeeper revision 1.1677 (42a312b3NoXLv1fa_qVHaQXgt_JhLw)
Fix smp_call_function race (introduced a couple of days ago).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 5 Jun 2005 14:05:20 +0000 (14:05 +0000)]
bitkeeper revision 1.1676 (42a306a07UKpLq27_iCaJyxJBbKedg)
More console cleanups. The console ring now overwrites its tail when
it fills, rather than stop recording output. The guest serial output
is only allowed to half-fill the serial output buffer, and now
respects hypercall preemption requests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 5 Jun 2005 10:53:57 +0000 (10:53 +0000)]
bitkeeper revision 1.1675 (42a2d9c5PelbdNceuL1qXullGOrtHA)
ns16550 interrupt handler should not return until the IIR indicates
no pending interrupts. Also a few generic serial driver cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 5 Jun 2005 10:11:05 +0000 (10:11 +0000)]
bitkeeper revision 1.1674 (42a2cfb9WFgnh2K4Xr5ev3pSEASVbw)
Extend EVTCHNOP_alloc_unbound to allocate a specified port, if
non-zero value is passed in.
Signed-off-by: Keir Fraser <keir@xensource.com>
ach61@arcadians.cl.cam.ac.uk [Sun, 5 Jun 2005 09:59:47 +0000 (09:59 +0000)]
bitkeeper revision 1.1673 (42a2cd13JNEgDSNAp-J9mJ3S4u2KQg)
add missing break
akw27@arcadians.cl.cam.ac.uk [Sat, 4 Jun 2005 21:14:02 +0000 (21:14 +0000)]
bitkeeper revision 1.1672 (42a2199aWb1yMoooGXGKBzopSe6WDw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
kaf24@firebug.cl.cam.ac.uk [Sat, 4 Jun 2005 17:45:49 +0000 (17:45 +0000)]
bitkeeper revision 1.1671 (42a1e8cdI_f9OiPqscVnjrOWWEVTmw)
Add a manual 'sync_console' boot parameter that forces synchronous
console output. May be useful for systems that crash unexpectedly
and lose the last chunk of console output.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 4 Jun 2005 17:35:19 +0000 (17:35 +0000)]
bitkeeper revision 1.1670 (42a1e657B8Qurf6JEQIMURchxp90FA)
Interrupt-driven serial transmit for 8250/16550 UARTs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 4 Jun 2005 15:27:59 +0000 (15:27 +0000)]
bitkeeper revision 1.1669 (42a1c87fJjvGo-daXN_d0s-Pg-eAEQ)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
akw27@arcadians.cl.cam.ac.uk [Sat, 4 Jun 2005 14:00:22 +0000 (14:00 +0000)]
bitkeeper revision 1.1665.1.6 (
42a1b3f6-O_jFlmQorlf72427fTfmw)
bug fixes to tap and parallax.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Sat, 4 Jun 2005 13:07:05 +0000 (13:07 +0000)]
bitkeeper revision 1.1665.1.5 (42a1a779yqLZDCutMj_vFNQlo3q3zw)
Rationalise debugger stuff in the tree.
Within Xen itself, remove PDB references and fold into domu_debug.
When domu_debug hits a breakpoint, it pauses all vcpus of the domain
and raises VIRQ_DEBUGGER (not VIRQ_PDB). The debugger in domain0 can
either poll pause status or bind to VIRQ_DEBUGGER. Before debugging
a breakpointed domain the debugger should issue PAUSEDOMAIN itself, or
it is not guaranteed to see paused state of the domain!
Outside Xen there's a new dir tools/debugger, containing gdb, pdb and
a new library libxendebug (used by pdb). I also think the ptrace
functions in libxc also ought to be moved out: either to libxendebug
or to a new library libxenptrace.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@sportsman.spdomain [Fri, 3 Jun 2005 22:22:23 +0000 (22:22 +0000)]
bitkeeper revision 1.1668 (42a0d81fuv3OiLvByFITCzhO06k4OQ)
Merge http://xen-ia64.bkbits.net/xeno-unstable-ia64.bk
into sportsman.spdomain:/home/djm/xeno-unstable-ia64.bk
djm@kirby.fc.hp.com [Fri, 3 Jun 2005 22:18:11 +0000 (22:18 +0000)]
bitkeeper revision 1.1667 (42a0d723C0nVc96mE2UHsAZH4ZSJJA)
Add EFI PCDP support to automatically find console
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
ach61@arcadians.cl.cam.ac.uk [Fri, 3 Jun 2005 21:54:27 +0000 (21:54 +0000)]
bitkeeper revision 1.1665.1.4 (42a0d193Tw6bR81EGNl7tuvqTTqdCw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/debugger
iap10@freefall.cl.cam.ac.uk [Fri, 3 Jun 2005 21:50:54 +0000 (21:50 +0000)]
bitkeeper revision 1.1665.3.2 (42a0d0beY3Jku2hxgPBX6_mz23Ha3g)
[patch] libxc x86-64
I've redone the patch to add domU launching support to libxc for x86-64.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Fri, 3 Jun 2005 21:42:25 +0000 (21:42 +0000)]
bitkeeper revision 1.1665.3.1 (42a0cec19GKZHbCwpHO5h-vYt_an-w)
[PATCH] missing put_domain in DOM0_IOPORT_PERMISSION
There appears to be a missing put_domain() in the failure case. The code
doesn't seem to be used by anyone, but anyway...
Signed-off-by: John Levon <levon@movementarian.org>
Signed-off-by: ian@xensource.com
ach61@arcadians.cl.cam.ac.uk [Fri, 3 Jun 2005 21:18:14 +0000 (21:18 +0000)]
bitkeeper revision 1.1665.1.3 (42a0c916S8M4GCtph6DmI_QigXvneA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/ach61/debugger
ach61@arcadians.cl.cam.ac.uk [Fri, 3 Jun 2005 21:17:48 +0000 (21:17 +0000)]
bitkeeper revision 1.1665.2.1 (42a0c8fc5ayKCKfMu8Oo5dUccP4STA)
PDB 0.3
mafetter@fleming.research [Fri, 3 Jun 2005 18:06:52 +0000 (18:06 +0000)]
bitkeeper revision 1.1665.1.2 (42a09c3c5379JgWLZ0YowQ5DA_wjHg)
Fix compilation problem when perf counters are enabled.
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 16:42:19 +0000 (16:42 +0000)]
bitkeeper revision 1.1665.1.1 (42a0886byKTQHg1vpeYMDgve2Vz6GA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 16:42:10 +0000 (16:42 +0000)]
bitkeeper revision 1.1664.1.1 (42a08862ToP8uoeBgUzDwAQBMXo4wg)
Event-channel CPU affinity. Currently all event channels still bind to
VCPU#0 at start of day, and have their binding automatically changed
when bound to a VIRQ or IPI source. XenLinux maintains a per-cpu
evtchn mask denoting which event channels are bound to each cpu.
Todo: Allow guests to change binding of of non-ipi and non-virq evtchns.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Fri, 3 Jun 2005 16:39:51 +0000 (16:39 +0000)]
bitkeeper revision 1.1666 (42a087d7jWz6dz5gEHhjSiLqLjqGvA)
Basic update to new ns16550 driver (not all working yet)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
Signed-off-by Kevin Tian <Kevin.tian@intel.com>
djm@sportsman.spdomain [Fri, 3 Jun 2005 15:21:42 +0000 (15:21 +0000)]
bitkeeper revision 1.1665 (42a07586HA9yxpF1JLzGs-3hmLbG5g)
More include file cleanup fixes (for CONFIG_VTI)
Also a cpumask cleanup fix
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 14:10:37 +0000 (14:10 +0000)]
bitkeeper revision 1.1664 (42a064ddVMYCAab_WQM9CcyTOyYMgQ)
Simplify implementation of map_domain_mem.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 13:59:33 +0000 (13:59 +0000)]
bitkeeper revision 1.1663 (42a06245ee2G6mCs2baAK3_UiolIcQ)
Fix Linux for cpuset -> vcpumask rename.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 13:14:54 +0000 (13:14 +0000)]
bitkeeper revision 1.1662 (42a057ceLMHS_nHxLb-mZCG6csf27A)
All cpu bitmasks in Xen now use the cpumask_t type and its operators.
Signed-off-by: Keir Fraser <keir@xensource.com>
sos22@douglas.cl.cam.ac.uk [Fri, 3 Jun 2005 11:22:37 +0000 (11:22 +0000)]
bitkeeper revision 1.1661 (42a03d7dMwgNdNW-UfchOZEUQsYy9w)
Make sure we only look at the unpinned list for mms which are actually
unpinned.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 09:49:28 +0000 (09:49 +0000)]
bitkeeper revision 1.1660 (42a027a8dd_EUm7b7XhKL_lNM4H_Rg)
Add support for memory-mapped ns16550 uart.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 08:12:15 +0000 (08:12 +0000)]
bitkeeper revision 1.1659 (42a010dfU0RKWV-1WrueKEs8brwyOg)
Ensure that _PAGE_GLOBAL bit is never set in any pagetable if the CPU
does not support PGE (Page Global Extension).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 07:55:30 +0000 (07:55 +0000)]
bitkeeper revision 1.1658 (42a00cf2Cgpej1px1OeZJMp9dbdX8g)
IO DMA isn't bound by physical address, but it is by machine address.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
cl349@freefall.cl.cam.ac.uk [Fri, 3 Jun 2005 01:34:53 +0000 (01:34 +0000)]
bitkeeper revision 1.1657 (429fb3bdy_w-Djv7N3uJ1qp_Sdc2cQ)
domain.h, xenmem.c, mkbuildtree, slab.h, setup.c:
Fix ia64 build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 01:15:33 +0000 (01:15 +0000)]
bitkeeper revision 1.1656 (429faf35S2AxCkpEkHXZalLVSWNI_g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Fri, 3 Jun 2005 01:12:55 +0000 (01:12 +0000)]
bitkeeper revision 1.1654.1.1 (429fae97234jWOO8DPN-542taVuZBQ)
sched.h:
Bring back includes of xen/time.h and xen/ac_timer.h since we use types
defined in those.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
iap10@freefall.cl.cam.ac.uk [Thu, 2 Jun 2005 23:53:38 +0000 (23:53 +0000)]
bitkeeper revision 1.1655 (429f9c02qVlZ13S-reG9GUvOJtT9tA)
Current -unstable doesn't build, it's missing one exec_domain -> vcpu cleanup.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 21:25:15 +0000 (21:25 +0000)]
bitkeeper revision 1.1654 (429f793bJpez_x78azX5iKCsmtPMUQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 21:25:05 +0000 (21:25 +0000)]
bitkeeper revision 1.1653 (429f7931iJ8kgS9qBlBbtyY9irorQA)
Many files:
More include cleanups towards "include where it's used".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 21:05:40 +0000 (21:05 +0000)]
bitkeeper revision 1.1648.1.1 (429f74a466gMuUJnqOh6jpVeBCjqyg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xxx.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 21:05:33 +0000 (21:05 +0000)]
bitkeeper revision 1.1644.1.1 (429f749dKFzVUg9NXDMVu4apHJvpNQ)
The last annoying rename:
struct exec_domain *ed -> struct vcpu *v
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:50:01 +0000 (20:50 +0000)]
bitkeeper revision 1.1652 (429f70f9moC9qZBswXttF9sYcHtxTA)
sched.h:
g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:46:08 +0000 (20:46 +0000)]
bitkeeper revision 1.1651 (429f70102tptpkVKU9_mkUC4olK_-Q)
Many files:
More include cleanups towards "include where it's used".
sched.h:
g/c unneeded include.
include xen/spinlock.h once should be enough.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:28:16 +0000 (20:28 +0000)]
bitkeeper revision 1.1650 (429f6be0yhaLJSkViUR2RPj8TUVeIA)
console.c, sched.h:
g/c unneeded includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:27:34 +0000 (20:27 +0000)]
bitkeeper revision 1.1649 (429f6bb65KQm70mnFwO33ykh9n1qag)
sched.h:
g/c unneeded include.
Many files:
Rename xen/slab.h to xen/xmalloc.h and fix resulting fallout.
xmalloc.h:
Rename: xen/include/xen/slab.h -> xen/include/xen/xmalloc.h
sched.h, multicall.c, dom_mem_ops.c, asm-offsets.c:
cleanup incorrect includes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:04:57 +0000 (20:04 +0000)]
bitkeeper revision 1.1648 (429f66691itoasLMLtaAWyPKnHVINg)
sched.h, seg_fixup.c:
g/c unneeded include.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 20:00:22 +0000 (20:00 +0000)]
bitkeeper revision 1.1647 (429f65565B2MImxe97HP-SSMYr5JPw)
sched.h:
g/c unneeded include and prototype for function which doesn't even exist.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 19:56:46 +0000 (19:56 +0000)]
bitkeeper revision 1.1646 (429f647ejz5YEoIPEm_Y2iLwylO84A)
page.h:
Keep it simple.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 19:54:35 +0000 (19:54 +0000)]
bitkeeper revision 1.1645 (429f63fb6JW1K1LYjnjnswN1KOd0Jg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 19:54:25 +0000 (19:54 +0000)]
bitkeeper revision 1.1642.1.1 (429f63f1jJ1MDBYeqjO8tWNOxXwFYw)
Fix x86_64 build.
usercopy.c:
Fix build.
Sync w/ x86_64 version.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 19:19:24 +0000 (19:19 +0000)]
bitkeeper revision 1.1644 (429f5bbcdEHtCPmUE0h_BEwN9vBiKQ)
Fix x86/64 build.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 17:40:24 +0000 (17:40 +0000)]
bitkeeper revision 1.1643 (429f4488tj590Fmn5s5Gd_pv8fLXeg)
The merge of PAE support introduced the intpte_t type and PRIpte format
specifier. Most of the shadow mode code was fixed, but debugging
printks were not; this broke the compile if shadow mode debugging was
enabled.
The attached patch should fix the problem. Not tested with PAE enabled,
but it shouldn't make anything worse than it already is.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 17:36:41 +0000 (17:36 +0000)]
bitkeeper revision 1.1642 (429f43a9Urbk2TjIlm7NZJ_Z8LDQQQ)
l?e_from_paddr() expects the physical address to already be page
aligned. Fix map_domain_mem() to do this, and add an assertion to the
macros to check for it in debug builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Thu, 2 Jun 2005 17:00:40 +0000 (17:00 +0000)]
bitkeeper revision 1.1641 (429f3b38tjTPpWx1UAEWtuvYiFH0Qw)
serial.h needs spinlock.h
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 16:47:08 +0000 (16:47 +0000)]
bitkeeper revision 1.1640 (429f380cmOBrQfCPrfaJptORVNmNSQ)
Fix page-table initialisation (MPT, linear mappings, and mapcache).
In particular, we were mapping garbage pages into the idle page
directory which caused bogus unflushable mappings to get speculatively
loaded into the TLB (nasty crashes).
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 13:56:35 +0000 (13:56 +0000)]
bitkeeper revision 1.1639 (429f10138AGmYb8WkpDuXWG6NvuSjQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 13:56:30 +0000 (13:56 +0000)]
bitkeeper revision 1.1637.1.1 (429f100et_8vOZLTej8un3-WOmraFg)
Fix bug #68: x86_64 build break - `pgd_cache' undeclared
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=68
reboot.c:
Fix x86_64 build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
vh249@arcadians.cl.cam.ac.uk [Thu, 2 Jun 2005 13:17:54 +0000 (13:17 +0000)]
bitkeeper revision 1.1638 (429f0702i8Aq9b8ywQxXo9xS63DS0A)
missing braces for the for body (this is not python)
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 12:40:53 +0000 (12:40 +0000)]
bitkeeper revision 1.1637 (429efe55wJJIZHFiBeWAvMfzBaNppw)
network:
- remove route added by setting addr/netmask on new interface
- do exact match on interface names (eth0 matches veth0 otherwise)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 10:01:09 +0000 (10:01 +0000)]
bitkeeper revision 1.1636 (429ed8e5gOiR2KuJtp1UWCleuYe5Kg)
network:
Copy netmask across to veth0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
leendert@watson.ibm.com[kaf24] [Thu, 2 Jun 2005 08:12:43 +0000 (08:12 +0000)]
bitkeeper revision 1.1635 (
429ebf7b-aCgsRXeG4E_c8L_uhA9iw)
[PATCH] [PATCH] vmx assist moved to a new address
To accomodate Intel's ACPI support, VMX assist now lives at 0xD0000.
Leendert
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
arun.sharma@intel.com[kaf24] [Thu, 2 Jun 2005 08:12:32 +0000 (08:12 +0000)]
bitkeeper revision 1.1634 (429ebf70RJ7AddbljcMww4yY9oNOew)
[PATCH] vmx-xentrace.patch
Fix the trace macro to have the correct domid and number of args.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Thu, 2 Jun 2005 08:12:25 +0000 (08:12 +0000)]
bitkeeper revision 1.1633 (429ebf697h76hFAG0kPyIQgpATAdnw)
[PATCH] vmx-mmio-2pages.patch
Handle the case where the MMIO instruction crosses a page boundary.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 08:10:58 +0000 (08:10 +0000)]
bitkeeper revision 1.1632 (429ebf12k6wKnt6NCp_ccTvyXrINWg)
skb_copy_bits() can return an err, so have netif_be_start_xmit()
crash informatively.
Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 2 Jun 2005 07:56:31 +0000 (07:56 +0000)]
bitkeeper revision 1.1631 (429ebbaffap59sNVOihMG1SP6ejcrg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 16:40:26 +0000 (16:40 +0000)]
bitkeeper revision 1.1629.1.1 (429de4faESWSriZYlaDxRVk7hKj32g)
All page directory pages have to be pinned before/during relocation, so
that the entries they contain can be canonicalised during relocation.
mmu_context.h, mmu.h, pgtable.c, ldt.c, reboot.c:
Pin all unpinned in-use pgd's before relocation.
reboot.c:
Flush the pgd cache before relocation.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 15:50:09 +0000 (15:50 +0000)]
bitkeeper revision 1.1630 (429dd931IfVZoLDG_59VLA9fanmtuQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 15:50:02 +0000 (15:50 +0000)]
bitkeeper revision 1.1628.1.1 (429dd92aYeqV9tl4b0g_F_deORFVAQ)
Fix sync_lazy_execstate functions to correctly sync the local cpu.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Wed, 1 Jun 2005 14:57:45 +0000 (14:57 +0000)]
bitkeeper revision 1.1629 (429dcce9xCwGMwnshlCHuyiV7vxpFA)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
vh249@arcadians.cl.cam.ac.uk [Wed, 1 Jun 2005 14:57:08 +0000 (14:57 +0000)]
bitkeeper revision 1.1627.1.1 (429dccc4mVL3VaR3aEhZK7D4ZhqHfA)
remove assertion that REMOVABLE/CDROM devices have no partition.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 14:44:07 +0000 (14:44 +0000)]
bitkeeper revision 1.1628 (429dc9b7MTwsBkscbFS1sK8SbwJhdg)
Fix domain shutdown so that the new status, and notification to domain0,
occur *after* the domain is fully descheduled and its execution state
synchronised.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 12:36:40 +0000 (12:36 +0000)]
bitkeeper revision 1.1627 (429dabd8oit_vtykkoDno8W9TS973g)
multicall.c:
Put multicall result in result field instead of args[5].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:51:11 +0000 (09:51 +0000)]
bitkeeper revision 1.1626 (429d850fTmqPy8ZeYvgxuavmrnfq2w)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:50:45 +0000 (09:50 +0000)]
bitkeeper revision 1.1623.1.1 (429d84f5OmPoNLT2JLLPymMKUCbryQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:49:24 +0000 (09:49 +0000)]
bitkeeper revision 1.1625 (429d84a4tcD4ZWpKQyD4i0nn6K6LIg)
Add an explicit result field to multicall_entry_t, rather than abusing
the sixth argument field.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:43:50 +0000 (09:43 +0000)]
bitkeeper revision 1.1159.258.162 (429d8356O4B1x4zcoZgFnPVsJ5OKMQ)
XendDomainConfig.py is not used.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:06:47 +0000 (09:06 +0000)]
bitkeeper revision 1.1624 (429d7aa7Gb7U1ztIGbXeQ0gPWlG51g)
Rename some of the pagetable access macros:
l?e_create_* -> l?e_from_*
*_phys -> *_paddr
*_value -> *_intpte
l?e_add_flags, l?e_remove_flags, l?e_has_changed now take ptes by value
rather than by reference.
The pagetable hypercalls are fixed to use l?e_from_intpte() rather than
abusing l?e_from_paddr(), which munged the NX bit incorrectly on x86/64.
Thanks to Scott Parish for spotting this one.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 23:04:23 +0000 (23:04 +0000)]
bitkeeper revision 1.1623 (429ced77UqsnFt1ywJdYu-w7Rd8gbg)
domain.c:
include xen/sched.h once is enough...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:45:24 +0000 (22:45 +0000)]
bitkeeper revision 1.1622 (429ce9043RMzk7MgrblrJmyu0he3Xw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:30:52 +0000 (22:30 +0000)]
bitkeeper revision 1.1619.1.2 (429ce59cTt9KxcOT0JuoCYbuDDPRFw)
Many files:
Don't include xen/slab.h and xen/domain.h at the _END_ of xen/sched.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:15:40 +0000 (22:15 +0000)]
bitkeeper revision 1.1619.1.1 (429ce20czCzWvLkTZEZqyN2iK_13sw)
sched.h, domain.c:
Make {exec_,}domain_{un,}pause and ..._by_systemcontroller variants
non-inline.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 21:40:12 +0000 (21:40 +0000)]
bitkeeper revision 1.1621 (
429cd9bcA05F-_kvHhepys2ZfsrX8Q)
mm debug cleanup.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 21:34:23 +0000 (21:34 +0000)]
bitkeeper revision 1.1620 (429cd85fOKc8jD7MTDCcMvlczZhiDg)
x86_capability[] array is 32-bit ints, not longs.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:13:13 +0000 (17:13 +0000)]
bitkeeper revision 1.1619 (429c9b29FRKSmd2yrMG2w6-PtHnc7Q)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:13:05 +0000 (17:13 +0000)]
bitkeeper revision 1.1618 (429c9b21TCCZatsEzYuIU4HRcrJtyA)
XendDomain.py:
Allow migration to localhost.
g/c XendDomain.domain_exists().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:07:56 +0000 (17:07 +0000)]
bitkeeper revision 1.1615.1.3 (429c99ecG3lpbZMR_ulpeFavnrTbcQ)
Fix get_pte_flags/put_pte_flags macros. Limit 32-bit PAE to 44-bit
physical addresses (maximum PFN that will fit in a 32-bit word).
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:56:16 +0000 (15:56 +0000)]
bitkeeper revision 1.1617 (429c8920BjgVBzWyVe6fs4GTiKD5Yw)
XendDomainInfo.py, XendDomain.py:
tmp_restore_create_domain is vm_restore now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:52:06 +0000 (15:52 +0000)]
bitkeeper revision 1.1615.1.2 (429c8826fS2FuIKb-STmuvL0Hl6awQ)
ioemu fixes: do not install into /usr/share/qemu as it conflicts with
real qemu installations. Also, do not link x86/64 with a special linker
script -- breaks on SLES9 and ought to be unnecessary.
The linker scripts and configuration/Makefile environment all need
stripping out at some point.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:39:28 +0000 (15:39 +0000)]
bitkeeper revision 1.1615.1.1 (429c8530L_ZtVuxsQcKwKB3yPuljog)
Subject: PAE support
This patch adds initial support for PAE paging to xen.
This patch does:
* boot Xen itself with PAE paging enabled.
* add PAE support to the dom0 domain builder.
Some notes on the design and the changes:
* There are two new config options: CONFIG_X86_PAE (boolean,
same name Linux uses to simply things) and
CONFIG_PAGING_LEVELS (int, possible values are 2,3,4). I've
used #if CONFIG_PAGING_LEVELS for stuff which simply depends
on the number of paging levels in the code common for
x86-32/64, and CONFIG_X86_PAE for special PAE quirks or
i386-only stuff. I've tried to avoid ifdefs if possible
though, often I rearranged code to make it work in both
PAE and non-PAE case instead.
* idle_pg_table: 3rd level is statically initialized, 2nd
level is contignous in physical and virtual memory, so it can
be addressed linear (the dom0 builder uses the same trick to
simplify things a bit btw.). There are two new symbols:
idle_pg_table_l3 and idle_pg_table_l2 for the two tables.
idle_pg_table is aliased to the toplevel page table, i.e.
idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae
mode. The idle l3 table is actually never ever touched after
boot, the l2 table is accessed via idle_pg_table_l2 and
addressed linear in both PAE and non-PAE mode.
* I've added a "intpte_t" type and a PRIpte define, modeled
after the C99 inttypes.h header, for page table entries.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:22:09 +0000 (15:22 +0000)]
bitkeeper revision 1.1616 (429c8121AG7l1hMWaCYDFMFSyUtKMA)
XendDomainInfo.py:
g/c ipaddrs: no longer needed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:20:43 +0000 (15:20 +0000)]
bitkeeper revision 1.1615 (429c80cbvtnzneyg7GyZAmZlQNm-Yg)
XendDomainInfo.py:
g/c vm_restore: no longer used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:20:00 +0000 (15:20 +0000)]
bitkeeper revision 1.1614 (429c80a0GOB6P2mG94bxVMLZE34VdA)
XendDomainInfo.py:
g/c vif_up: it's the guest's responsibility to take appropriate
actions to get its network working again, i.e. send ARP packets when
it's resumed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 14:01:02 +0000 (14:01 +0000)]
bitkeeper revision 1.1613 (429c6e1eexBYav7WpRxH77Hcyh4PLQ)
XendDomainInfo.py:
Should use int(cpu) here to test if it's valid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:59:49 +0000 (13:59 +0000)]
bitkeeper revision 1.1612 (429c6dd5DZf10_GWDT3DTiTom7Mb1g)
XendDomainInfo.py:
cpu == 0 is the 1st cpu, allow pinning a domain to it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:36:19 +0000 (13:36 +0000)]
bitkeeper revision 1.1611 (429c6853QfpsOT-V0bESe-1WhWLOWw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk